<template>
  <div class="con">
    <div class="contbox6_10">
      <p class="titlelist6_10">
        账户管理
        <span style="color: #999;">&nbsp;&nbsp;/&nbsp;&nbsp;</span>通道管理 /
        支持银行
      </p>
    </div>
    <div class="formsTwo">
      <p>业务信息</p>
      <div class="borders"></div>
      <el-form ref="forms" :model="forms" label-width="140px">
        <el-form-item label="开启状态">
          <el-select v-model="formes.region" placeholder>
            <el-option label="开启" value="0"></el-option>
            <el-option label="关闭" value="1"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="银行卡类型">
          <el-select v-model="form.region" placeholder="请选择银行卡类型" @change="list">
            <el-option label="借记卡" value="0"></el-option>
            <el-option label="贷记卡" value="1"></el-option>
            <el-option label="借记卡+贷记卡" value="2"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="支持银行">
          <el-select v-model="formes.region" placeholder>
            <el-option label="中国银行" value="0"></el-option>
            <el-option label="工商银行" value="1"></el-option>
            <el-option label="农业银行" value="2"></el-option>
          </el-select>
        </el-form-item>

        <el-form-item label="d0交易费率 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="formes.mechanismNo"></el-input>%
        </el-form-item>
        <el-form-item label="d0手续费 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="formes.mechanismNo"></el-input>元 / 笔
        </el-form-item>
        <el-form-item label="单笔最低限额 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="formes.mechanismNo"></el-input>元
        </el-form-item>
        <el-form-item label="单笔最高限额 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="formes.mechanismNo"></el-input>元
        </el-form-item>
        <el-form-item label="单卡单日限额 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="formes.mechanismNo"></el-input>元
        </el-form-item>
        <el-form-item label="单卡单月限额 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="formes.mechanismNo"></el-input>元
        </el-form-item>
        <el-form-item label="交易笔数限制 ">&nbsp;&nbsp;&nbsp;&nbsp;
          <el-input v-model="forms.mechanismNo"></el-input>元
        </el-form-item>
        <el-form-item>
          <el-button type="primary">保存</el-button>
          <el-button>取消</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      formsDisplay: true,
      form: {
        region: "",
      },
      forms: {
        mechanismNo: "",
      },
      formes: {
        region: "",
      },
    };
  },
  methods: {
    // 开通业务选择
    list(event, item) {
      console.log(event);
      if (event != 0) {
        this.formsDisplay = false;
      }
    },
  },
};
</script>
<style scoped>
.con {
  padding: 20px;
  /* display: flex;
    flex-direction: column */
}
.contbox6_10 {
  width: 96%;
  min-height: 10px;
  /* margin-left: 2%; */
  height: 85px;
  overflow-x: auto;
  box-sizing: border-box;
  float: left;
}
.titlelist6_10 {
  width: 100%;
  float: left;
  font-size: 16px;
  color: #222;
  margin-top: 40px;
}
.select {
  float: left;
  width: 100%;
  margin-left: 2%;
  margin-top: 20px;
}
.forms {
  float: left;
  width: 100%;
  margin-left: 2%;
  margin-top: 20px;
}
.el-input {
  width: 12%;
}
.formsTwo {
  float: left;
  width: 100%;
  margin-left: 2%;
  margin-top: 20px;
}
p {
  font-size: 16px;
}
.borders {
  border-bottom: 2px solid #ccc;
  margin-bottom: 15px;
  margin-top: 20px;
}
</style>
